package huoye.shops.guidance.guide;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.TextView;

import huoye.shops.R;


public class GuideView3 extends GuideView {






    public GuideView3(Context context) {
        super(context);
        initUI(context);
    }

    private void initUI(Context context) {
        LayoutInflater.from(context).inflate(R.layout.guide_3, this);
        findViewById(R.id.tvOpen).setOnClickListener(new OnClickListener() {
            @Override
            public void onClick(View view) {
                if(mListener != null){
                    mListener.onJumpToMain();
                }
            }
        });

    }

    private OnJumpToMainListener mListener;
    public interface OnJumpToMainListener{
        void onJumpToMain();
    }

    public void setOnJumpToMainListener(OnJumpToMainListener listener){
        this.mListener = listener;
    }
}
